package com.blx.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.blx.model.request.ConsultantManageRequest;
import com.blx.model.request.PlanAddRequest;
import com.blx.model.response.ConsultantManageResponse;
import com.blx.model.response.PlanRelatioinResponse;
import com.blx.service.ConsultantManageService;
import com.blx.utils.annotation.NeedLogin;

/**
 * 
* @ClassName: ConsultantManageController 
* @Description: 咨询师管理页 
* @author Wangwls wenlong.wang@corp.elong.com 
* @date 2014年9月28日 下午3:32:59 
*
 */
@Controller
@RequestMapping("conManage")
public class ConsultantManageController {

	@Autowired
	private ConsultantManageService consultantService;
	
	@NeedLogin
	@RequestMapping("index")
	@ResponseBody
	public ConsultantManageResponse index(ConsultantManageRequest request){
		ConsultantManageResponse consultant = consultantService.getConSultantInfo(request);
		return consultant;
	}
	
	public PlanRelatioinResponse addNewPlan(PlanAddRequest request){
		return null;
	}
	
}
